Radon Transform Based Instrument Shaft Detection in Three-Dimensional Ultrasound
نویسندگان
چکیده
Real-time three-dimensional ultrasound enables new intra-cardiac surgical procedures, but the distorted appearance of instruments in ultrasound poses a challenge to surgeons. This paper presents a detection technique that identifies the position of the instrument within the ultrasound volume. The algorithm uses a modified Radon transform to search for long straight objects in the ultrasound image, a feature that is characteristic of instruments and not found in cardiac tissue. Experimental validation shows mean accuracy is within half a degree in orientation and within 2 mm in position. In vivo trials demonstrate effective detection with instruments inserted into a beating heart. In addition, the algorithm is shown to be amenable to parallel architectures such as PC graphics hardware resulting in near real-time instrument detection in threedimensional ultrasound. 01/17/06 1 Novotny et al. Introduction Real-time three-dimensional ultrasound has been demonstrated as a viable tool for guiding surgical procedures [1]. This imaging technique enables a range of new minimally invasive cardiac procedures. For example, beating heart intracardiac procedures are now possible with the use of threedimensional ultrasound and minimally invasive instruments [2]. These procedures eliminate the need for cardio-pulminary bypass and its well documented adverse effects, including delay of neuro development in children, mechanical damage produced by inserting tubing into the major vessels, stroke risk, and significant decline in cognitive performance [3-5]. Cannon et al. [1] found complicated 3D tasks, such as navigation, anchoring, and grasping, are possible with 3D ultrasound. However, initial animal trials highlighted many challenges to the goal of ultrasound guided intracardiac surgery [2]. Most notable is the appearance of surgical instruments in ultrasound. Tools look incomplete and distorted (Figure 1), making it difficult to identify and orient instruments during procedures. To address this issue, researchers have developed techniques to detect instruments in ultrasound. By detecting instruments as they move within the ultrasound image it is possible to highlight the position of the instrument for the surgeons. Eventually, this will allow surgeons to more accurately control the instruments as they perform a surgical task. In addition, real-time tracking of instruments in conjunction with a surgical robot opens the door for a range possibilities, such as surgical macros, virtual fixtures, and other visual servoing techniques. Previous work in instrument detection can be broadly separated into two categories: external tracking systems such as electromagnetic and optical tracking [6,7] and image-based detection algorithms [8-11]. External tracking systems have suffered from the limitations of the surgical environment. Electromagnetic tracking is difficult to implement due to the abundance of ferro-magnetic objects in the operating room. In addition, optical tracking of 01/17/06 2 Novotny et al. instruments is complicated by line-of-sight issues. Both of these systems suffer from errors introduced by improper registration of the ultrasound image coordinates to the tracking coordinate frame. To eliminate such errors, image based algorithms have been developed to track instruments within the ultrasound image [8-11]. However, these methods have been restricted to two-dimensional ultrasound images or are only appropriate for finding bright objects such as needles in an ultrasound images that standout amongst relatively homogeneous tissue. These techniques are not appropriate for the dynamic, heterogeneous environment of intracardiac surgery. In this work we present a technique capable of detecting instruments used in minimally invasive procedures, such as endoscopic graspers, staplers, and cutting devices. Most instrument shafts used in minimally invasive procedures are fundamentally cylindrical in shape, typically 3-10 mm in diameter. Our technique identifies instruments in 3D ultrasound by looking for these long straight cylinders, a feature that is not found in cardiac ultrasound images. We use a modified form of the Radon transform, a common imaging technique, to identify these instruments within the ultrasound volumes. In the following sections we derive a form of the Radon transform that is appropriate for identifying instrument shafts in 3D ultrasound volumes. We also introduce a search schema used to quickly distinguish instruments from cardiac tissue. Furthermore, we show that this technique can be implemented on a parallel architecture such as inexpensive PC graphics hardware, enabling the detection of instruments in near real-time. The accuracy of the proposed method is examined in both tank studies and an in vivo animal trial. Methods and Materials 1 The Radon Transform When looking for linear objects in 2D images, the Radon transform is a powerful tool [12]. However, the traditional Radon transform is not capable of detecting lines in three dimensions as it 01/17/06 3 Novotny et al. reduces to a plane detector and is not well suited for this application. As a result, a modified 2D Radon transform is needed for the detection of linear objects in 3D ultrasound volumes. As described in [12], it is possible to generalize the 2D Radon transform into three dimensions, thereby creating a modified three dimensional Radon transform for line detection. To this end, we start with the parametric form of the 2D Radon transform where g is the Radon transform of the 2D image g and is computed using g ,=∫ g sds . (1) Where and are a slope and perpendicular distance from the origin that describe a line. and are functions of denoting the direction of the line of integration and the perpendicular distance of that line from the origin, respectively. = sin , = cos (2) In three dimensions, the direction of the line of integration is a function of two parameters, and , and we define ,= coscos sincos sin . (3) In addition, two orthogonal vectors are needed to describe the offset of the line from the origin in three dimensions. ,= −sin cos 0 , ,= −cossin −sinsin cos (4) 01/17/06 4 Novotny et al. As shown in Figure 2, , , and form an orthonormal basis whereby a line in three dimensions is defined. Using this framework, it is possible to generalize the 2D Radon transform (Equation 1) into three dimensions. g , , u , v =∫ −∞ ∞ g s ,u ,v ,ds (5) Equation 5 describes a transform in which each point in g , , u , v corresponds to the integral of g r along a three dimensional line defined by the four parameters , , u , and v . It is not strictly speaking a Radon transform; however, it closely relates to Equation 1, the 2D Radon transform, and can be seen as a generalization of this transform into three dimensions. Identifying lines in the 3D volume now becomes a problem of finding local maximums of g m ,m , um , vm , from Equation 5, where m ,m , um , v m denotes a local maximum or likely instrument position. In other words, we integrate the volume, g r , along a direction defined by , and identify maximums in the integrated plane u , v . This scheme is illustrated in Figure 3 where integrations are illustrated for multiple directions. Figure 3c contains points with a high integral, or simply, the image is brighter than the other four images (Figure 3a, 3b, 3d, and 3e). This is a result of the correspondence of c and the object's axis. In addition, the position of the maximum in the integrated plane gives two positional coordinates of the axis of the rod. As a result, by finding the maximum value of g , the axis of the instrument in 3D space is implicitly defined by the parameters m ,m , um , vm . 2 Implementation The modified 3D Radon transform outlined above provides a basis for detection of instruments in 3D ultrasound. Calculating this transform in its basic form is computationally costly. However, the 01/17/06 5 Novotny et al. algorithm is especially well suited to many performance improvements that enable near real-time instrument detection. In this implementation, we took the following three steps to harness characteristics of the algorithm that enable high performance instrument detection. The first step is to break up the large ultrasound volume into more manageable subvolumes. Secondly, a course-to-fine search is used to broadly sample the g space, and then zero-in on areas that contain a maximum. Finally, because the algorithm is especially well suited for parallel computing, we harnessed the parallel architecture found on the latest generation graphics processing units. 2.1 Subvolumes The first step is to break up the large 3D ultrasound volumes into smaller regions for analysis. The reason is two-fold. First, subvolumes that do not contain an instrument are disregarded while promising subvolumes are analyzed in greater detail. Second, smaller subregions are more likely to contain an instrument in blood without large sections of tissue that would otherwise obscure the instrument. Our graphics card implementation requires the sub-volume size to be a power of two; however, we empirically found that subvolumes of 32x32x32 were sufficient because instrument shafts used in this study were 22 voxels in diamter. As a result, the ultrasound volume, typically 128x64x204 voxels, is divided into spherical subvolumes with a diameter of 32. The volume was sampled by selecting subvolumes in 16 voxel intervals in all three directions. A spacing of 16 voxels guarantees complete sampling of the volume, as well as ensuring an instrument axis lies near the center of at least one sphere. 2.2 Coarse to Fine Search The performance of the algorithm was further improved with a coarse-to-fine search that samples the Radon space (Equation 5). Each subvolume is first searched coarsely by projecting every 10 01/17/06 6 Novotny et al. degrees (0 to 170 degrees) for both and , resulting in an 18x18 search space. Subvolumes are then ranked by the maximum g to determine which subvolume is likely to contain an instrument. It is necessary to eliminate erroneous subvolumes from this ranking that may produce bright projections, but in fact are not instruments. Large segments of tissue, or even instrument artifacts, introduce areas that could be misidentified. However, the consistent appearance of the cross-section of instruments (Figure 3c) is used to eliminate non-instruments in our algorithm. By determining the shape of this cross-section a priori, we are able to eliminate candidates that are not consistent with the instrument appearance. In this implementation, we use a simple template matching scheme to calculate the correspondence of the candidate projection with the template. The normalized cross correlation (NCC) provides a measure of the similarity between the template and the candidate projections NCC= 1 PQ P− P ⋅Q− Q . (6) Here P and Q are defined as the candidate and template images, with mean P and Q , and variance P and Q . Empirically we found that a NCC0.85 was sufficient to distinguish instruments from non-instruments. In addition, this threshold was found to be insensitive to different imaging conditions as it was used throughout the study. The highest ranked subvolume that passed the template matching test is chosen for a finer sampling of the Radon space. To this end, the space centered on m ,m , um , vm found in the coarse search is then more finely sampled at 1 degree increments within ±10o. As a result, the axis of the instrument is found at the maximum g , , u , v , thereby implicitly identifying the instruments axis m ,m , um , vm within 1 degree for and . 01/17/06 7 Novotny et al. 2.3 Graphics Card Implementation One of the most promising features the modified Radon transform is the potential for real-time computation. Calculation of Equation 5 can be independently calculated for each , , u , v and is ideally suited for computation on parallel architectures. Modern graphics cards are built with features well suited for this application as they were designed to meet the high demands of the consumer gaming industry. Many researchers have shown that highly parallel calculations, when implemented on these graphics cards, show significant performance advantages over CPU based implementations [1315]. Using a similar approach, we were able to program these graphics processors to calculate the necessary integrations, g , and thereby harness the available speed of this hardware. In this application, a 7800GTX PC graphics card (nVidia Corp., Santa Clara, CA) was used. The three-dimensional ultrasound data was loaded onto the graphics card as a three-dimensional texture. Sixteen parallel pipelines on the graphics card (programmable pixel shaders) calculate the integral defined in Equation 5 by stepping through the volume for sixteen , , u , v simultaneously. Trilinear interpolation, implemented in hardware, is used as the algorithm discretely sums the intensity values along the line. 3 Experimental Validation To validate the proposed methodology, two sets of experiments were conducted. The first trial measured the accuracy of the algorithm by imaging instruments in a controlled tank environment. While this study carefully characterized the accuracy of the method, it does not reflect the target conditions for the algorithm, detecting instruments within a beating heart. As a result, a second study was necessary to validate the effectiveness of the technique in a surgical setting. Both trials used a Sonos 7500 ultrasound system (Philips Medical, Andover, MA) to produce the ultrasound images. 01/17/06 8 Novotny et al. 3.1 Tank Study The accuracy of the proposed method was measured with a system that precisely positioned and oriented the instruments within the ultrasound field. The instruments were connected to a three-axis translational stage with 1 μm resolution, and 2 rotational stages with a resolution of 5 minutes. Registration to the ultrasound coordinates was done by using a flat-plate phantom and two-wire phantom [16]. Registration accuracy was 0.4 mm for positions and 0.6 degrees for angular measurements. The instruments used in the procedure were chosen to mimic minimally invasive instruments. Multiple material types and coatings were used in order to compare their effects on the appearance of the instruments in ultrasound, but a focused investigation into suitable coatings is left for future work. In this study, we chose material types and coatings representative of those found by this ongoing area of research. The instruments consisted of cylindrical rods 5-6 mm in diameter with five different material types and coatings. Shown in Table 1, a stainless steel tube was tested with 3 different coatings: no coating, covered in polymer coated fabric gaffer's tape, and coated in an acrylic based dip (0.55 mm thickness). In addition to the stainless steel, cylinders made from solid acetyl and wood were used. Table 1: Materials used in tank and in vivo study. Material Coating Diameter Inside Diameter Stainless Steel 5.2mm 4.4mm Stainless Steel tape 5.2mm 4.4mm Stainless Steel acrylic 5.2mm 4.4mm Acetyl 6.3mm Wood 6.3mm Two series of ultrasound images were taken by varying the two orientation angles of the instrument ( Inst and Inst ) independently. As shown in Figure 4, these angles refer to rotations about 01/17/06 9 Novotny et al. the z and x axis of the ultrasound image, identical to the and defined in the modified Radon transform (Equation 5). Inst ranged from 0 to 90 degrees in 10 degree increments. In the case of Inst , symmetry allowed for limiting the study to 0 to 45 degree in 5 degree increments. At each angular orientation, the instrument was imaged in five different positions within the ultrasound field. The first position had the instrument tip in the center of the image, and the other four positions were each 1 cm from this initial center position in the axial direction lateral directions (Figure 4). As a result, 5 images were taken for each and . 3.2 In Vivo Animal Study An animal study tested the algorithm under in vivo conditions. In this study, the above instruments were imaged inside a porcine heart during an open chest beating heart procedure. The instruments were inserted through ports in the right atrial wall and secured by purse-string sutures. The ultrasound probe was positioned epicardially on the right atrium to give a view of the right and left atrium. The consistency of the algorithm in both detecting the instrument and reporting its orientation was studied. The instruments were held statically within 0.22 degrees and 0.04mm by a small robot (Omni Phantom, Sensible Technologies, Woburn, MA) during two cardiac cycles, about 50 volumes. This data set provided images of an instrument as the heart moved around it, testing the algorithm with varying configurations of cardiac tissue. In the absence of absolute calibration between ultrasound and robot coordinates, relative measurements were obtained. Results In the tank trial, the algorithm had varying degrees of success depending on the instrument material and coating. In the best case, shown in Figure 5, tape coated stainless steel was detected 01/17/06 10 Novotny et al. accurately for a wide range of angles. For Inst≤50 degrees, the mean fell within 0.5 degrees of the measured angle, with a standard deviation of 1 degree. However, beyond 50 degrees the algorithm was unable to accurately find the instrument within the ultrasound image with errors over 20 degrees. For Inst , the algorithm did not fare as well. The detected angle was on average only 3 degrees of the measured angle with standard deviation of the sample generally around 5 degrees. Acetyl, wood, and acrylic-coated stainless steel instruments (Figures 6, 7, and 8) also were successfully detected, but for a much narrower range of orientations than the tape-coated stainless steel instrument. For acetyl, Inst estimates began to deteriorate for angles greater than 45 degrees, while wood and acrylic coated stainless steel suffered above 30 and 20 degrees, respectively. As with tapecoated stainless steel, Inst displayed a much larger standard deviation; however, the errors were largely independent of angle. The positional accuracy of the algorithm was also measured by comparing the distance between the position u , v found by the algorithm and actual location of the axis measured with the five-axis positioning system. The error was calculated by finding the perpendicular distance between this calculated point u , v in the projection plane and the measured instrument axis. With the tape coating, mean errors were minimal, between 0.4 and 3.1 mm depending on angle (Figure 9). When Inst was 20 degrees or less the mean positional error remained below 1 mm. As this angle increased, positional accuracy degraded as was also seen with angular accuracy. The estimated positional accuracy of acetyl, wood, and acrylic coated stainless steel instruments were found to be less than tape-coated stainless steel. These materials also showed a similar dependence on Inst , as this angle increased accuracy decreased. However, for 20° or less all materials were accurate to within 2 mm and for 60° or less the accuracy remained below 6mm. 01/17/06 11 Novotny et al. For the in vivo experiment in a beating porcine heart, Figure 10 shows the standard deviation of the Inst and Inst measurements given by the algorithm. In addition, the fraction of the 50 images in which the algorithm identified the incorrect subvolume is shown. Similar to results found in the tank studies, the performance of the algorithm varied depending on the material and coating used. The stainless steel with a tape covering performed well: the algorithm correctly distinguished the instrument amongst the dynamic cardiac tissue for all 50 images. The standard deviation of Inst and Inst estimates for the fixed instrument was 1.4 and 2.4 degrees, respectively. Wood and acetyl did not fare as well. The algorithm misidentified segments of tissue as the instrument, resulting in failure for wood and acetyl in 15% and 54% of the acquired images, respectively. For wood, the algorithm consistently calculated the orientation of the instrument incorrectly. The standard deviation of Inst and Inst was 7.8 degrees and 5.2 degrees. Acetyl did much better in its measurements, with Inst and Inst standard deviations of 5.2 and 2.8. However, this includes only the 54% of the images where the instrument was detected. The performance of the algorithm was found to be well within the range of a real-time implementation. On a 3GHz Pentium 4 with 2 gigabytes of RAM and the nVidia 7800GTX graphics card, the algorithm took 0.6 seconds to search an entire 128x48x204 ultrasound volume. Discussion These results confirm the utility of the algorithm for detecting instruments in three-dimensional ultrasound images. With appropriate instrument coatings it is possible to detect rods made of the same material (stainless steel tubes) and same shaft geometry (5-6 mm cylinders) as instruments commonly used in minimally invasive procedures. This was demonstrated by first estimating the accuracy of the 01/17/06 12 Novotny et al. method in tank studies, and then by demonstrating its ability to correctly detect the instrument in an in vivo study. These two studies taken together demonstrate the effectiveness of the algorithm for detecting instruments inside a beating heart using 3D ultrasound. In addition, we presented an implementation that performed this technique in near real-time speeds. This was accomplished by using a simple search technique combined with implementing the algorithm on a powerful and inexpensive graphics processor. The current implementation was able to search an entire ultrasound volume in 0.6 seconds, which is very near real-time speeds. However, the search technique is not optimal and further study is necessary to find more efficient and effective search schemes. Future work will focus on improving performance with the following strategies: incorporating a more sophisticated search technique to find the maximum of g ; restricting the search volume within a radius of the instrument location found in the previous frame; and upgrading the hardware implementation. With these improvements, it will be possible to detect the instrument at the speeds necessary to handle the 25 volumes per second produced by the three-dimensional ultrasound machine. Despite its success, the algorithm was not without its drawbacks. As shown in all of the tank studies, regardless of material or coating, the algorithm was unable to calculate Instr to the degree of accuracy of Instr . This is a result of the shape of the instrument when imaged by ultrasound. As shown in Figure 3c, the cross-section is larger in the lateral (x) direction than the axial (z) direction. As a result, local maximums of g are more sensitive to changes in Instr which leads to increased accuracy in identifying the correct orientation. With the right material or coating, however, this effect is greatly reduced as was seen with tape covered stainless steel. The algorithm also highlighted the importance of coatings and material selection. Coatings had a large effect on misidentification and accuracy, as seen in Figure 10. This occurred because the 01/17/06 13 Novotny et al. assumption that the cross-section of the instruments is consistent in ultrasound does not hold for certain materials and coatings. The tape covering on stainless steel produced a near uniform angular scattering of the acoustic energy and therefore had a consistent cross-section in ultrasound and was identified accurately. The other materials' cross-sections were much more variable. As a result, the template matching portion of the technique was unable to distinguish the instrument from the surrounding cardiac tissue. To address this issue, future work will explore the use of coatings and materials similar to the tape used in this experiment. Emphasis will be placed on material types and coatings that are medically viable. The largest limitation of this technique is the inability to identify all 6 degrees of freedom of the instrument. Consequently, we were unable to fully characterize the performance of the technique in detecting the instruments' tip location and roll angle about the instrument shaft, an important requirement of instrument detection. However, we are working to add a second complimentary detection technique proposed by Stoll et al. [17]. This method introduces a series of passive markers to the instrument shaft that are used to determine the final two degrees of freedom. By combining both methods a full detection of the six degrees of freedom of an instrument will be possible. Real-time instrument tracking promises to be a great aid to surgical procedures performed with three-dimensional ultrasound. This paper presents a necessary first step to this goal by developing a high performance algorithm capable of accurately identifying the axis of the instrument. It demonstrates that detecting instruments in near real-time is possible and achieving a real-time implementation is not far off. With this tool, there are many new possibilities to aid surgical procedures, such as highlighting instruments for surgeons and tracking instruments for controlling a surgical robot. 01/17/06 14 Novotny et al. 01/17/06 15 Novotny et al. Figure 1:
منابع مشابه
GPU based real - time instrument tracking with three - dimensional ultrasound q
Real-time three-dimensional ultrasound enables new intracardiac surgical procedures, but the distorted appearance of instruments in ultrasound poses a challenge to surgeons. This paper presents a detection technique that identifies the position of the instrument within the ultrasound volume. The algorithm uses a form of the generalized Radon transform to search for long straight objects in the ...
متن کاملGPU based real - time instrument tracking with three - dimensional ultrasound q Paul
Real-time three-dimensional ultrasound enables new intracardiac surgical procedures, but the distorted appearance of instruments in ultrasound poses a challenge to surgeons. This paper presents a detection technique that identifies the position of the instrument within the ultrasound volume. The algorithm uses a form of the generalized Radon transform to search for long straight objects in the ...
متن کاملGPU Based Real-Time Instrument Tracking with Three Dimensional Ultrasound
Real-time 3D ultrasound can enable new image-guided surgical procedures, but high data rates prohibit the use of traditional tracking techniques. We present a new method based on the modified Radon transform that identifies the axis of instrument shafts as bright patterns in planar projections. Instrument rotation and tip location are then determined using fiducial markers. These techniques are...
متن کاملReal-Time Processing of Three Dimensional Ultrasound for Intracardiac Surgery
Real-time three-dimensional ultrasound has been demonstrated as a viable tool for guiding surgical procedures. This visualization technique enables a range of new minimally invasive techniques in cardiac surgery. Ultrasound permits visualization through the opaque blood pool in the heart, and the advent of real-time 3DUS overcomes difficulties with 3D spatial perception in conventional 2D ultra...
متن کاملDetection of Blood Vessels in Color Fundus Images using a Local Radon Transform
Introduction: This paper addresses a method for automatic detection of blood vessels in color fundus images which utilizes two main tools: image partitioning and local Radon transform. Material and Methods: The input images are firstly divided into overlapping windows and then the Radon transform is applied to each. The maximum of the Radon transform in each window corresponds to the probable a...
متن کامل